package org.inspursc.s0517.health.evaluation.dao;


import org.inspursc.s0517.health.evaluation.entity.Question;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


/**
 * @author B_Dream
 * @version 2018/5/18 14:40
 */
public interface QuestionDao extends JpaRepository<Question, Integer> {


    /**
     * 根据分类查找问题
     *
     * @param belongId
     * @return
     */
    List<Question> findByCategoryId(Integer belongId);

}
